const { defineConfig } = require("@vue/cli-service");
// 配置
console.log("环境变量", process.env.NODE_ENV, process.env.VUE_APP_SERVER_URL);
module.exports = defineConfig({
  transpileDependencies: true,
  lintOnSave: false,
  devServer: {
    open: true,
    port: 9898,
    hot: true, //自动保存
  },
  css: {
    loaderOptions: {
      sass: {
        prependData: `@import "@/assets/scss/index.scss";`,
      },
    },
  },
});
